﻿namespace AntQuartzUI.Services.Dtos;

public class TriggerStatusDto
{
    public string TriggerName {get;set;} = string.Empty;
    
    public string TriggerGroup {get;set;} = string.Empty;
    
    /// <summary>
    /// 触发次数
    /// </summary>
    public int FireCounts { get; set; }
    
    /// <summary>
    /// 串行取消次数
    /// </summary>
    public int VetoCounts { get; set; }
    
    /// <summary>
    /// 异常次数
    /// </summary>
    public int ErrorCount { get; set; }
    
    /// <summary>
    /// 优先级
    /// </summary>
    public int Priority {get;set;} 
    
    public string TriggerType {get;set;} = string.Empty;
    
    public long TimesTriggered {get;set;}  
    
    /// <summary>
    /// 下次执行时间
    /// </summary>
    public string NextFireTime { get; set; } = string.Empty;
    
    /// <summary>
    /// 上次执行时间
    /// </summary>
    public string PreviousFireTime { get; set; } = string.Empty;
    
    /// <summary>
    /// 状态
    /// </summary>
    public string Status { get; set; } = string.Empty;
}